Skip to content

[rush] Optimize detecting local projects when collating versions#5338

Merged
dmichon-msft merged 1 commit intomicrosoft:mainfrom
dmichon-msft:optimize-detect-local
Aug 28, 2025
Merged

[rush] Optimize detecting local projects when collating versions#5338
dmichon-msft merged 1 commit intomicrosoft:mainfrom
dmichon-msft:optimize-detect-local

Conversation

@dmichon-msft
Copy link
Contributor

Summary

Adds a fast path for workspace: protocol dependencies when analyzing common dependency versions.

Details

The current detection algorithm for identifying local dependencies depended on semver matching; workspace protocol automatically requires the version to be satisfied locally.

How it was tested

Ran in a large monorepo with the change.
Before:
image

After:
image

Impacted documentation

None

@dmichon-msft dmichon-msft merged commit b9ebfb6 into microsoft:main Aug 28, 2025
5 checks passed
@github-project-automation github-project-automation bot moved this from Needs triage to Closed in Bug Triage Aug 28, 2025
@dmichon-msft dmichon-msft deleted the optimize-detect-local branch August 28, 2025 21:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Closed

Development

Successfully merging this pull request may close these issues.

2 participants